#include "geolinestring.h"

geoLineString::geoLineString()
{

}

geoLineString::~geoLineString()
{

}

bool geoLineString::isPointWithin(QPointF pt)
{
    foreach(QPointF coordinate,coordinates)
    {
        if(abs(coordinate.rx()-pt.rx())<off&&abs(coordinate.ry()-pt.ry())<off)  return true;
        else    return false;
    }
    return false;
}

